Micron Document
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| SparkN0de-git | SparkN0de |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Commit 59e6602ac8f7721134de740b56238d27a1d60b9d


Parents : f736fe3
Author : Ivan <ivan@quad4.io>
Signature : Invalid signer <e46112d44649266d71fe2193e00a4710>, author is <ivan@quad4.io>
Date : 2026-07-17T17:24:05-05:00

feat: add resource limits and reservations for services in Docker Compose

Changes

3 files changed, 18 insertions(+), 0 deletions(-)


Diff

diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml
index 53e68ced..63f0f1c9 100644
--- a/docker-compose.dev.yml
+++ b/docker-compose.dev.yml
@@ -12,6 +12,15 @@ services:
- 127.0.0.1:8000:8000
volumes:
- meshchatx-config:/config
+ deploy:
+ resources:
+ limits:
+ cpus: "2.0"
+ memory: 1G
+ pids: 512
+ reservations:
+ cpus: "0.25"
+ memory: 256M
volumes:
meshchatx-config:

diff --git a/docker-compose.yml b/docker-compose.yml
index d02bbd81..52ca9a8a 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -9,6 +9,15 @@ services:
- 127.0.0.1:8000:8000
volumes:
- meshchatx-config:/config
+ deploy:
+ resources:
+ limits:
+ cpus: "2.0"
+ memory: 1G
+ pids: 512
+ reservations:
+ cpus: "0.25"
+ memory: 256M
volumes:
meshchatx-config:

diff --git a/meshchatx.rsm b/meshchatx.rsm
index 21b90883..08d2377e 100644
Binary files a/meshchatx.rsm and b/meshchatx.rsm differ


──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────